//
//  UIColor+Extend.m
//  Community
//
//  Created by LiTengFei on 14/10/19.
//  Copyright (c) 2014年 90's Technology Co.Ltd. All rights reserved.
//

#import "UIColor+Extend.h"

@implementation UIColor (Extend)
+ (UIColor*)colorWithHex:(int)hex
{
    return ColorCreate(hex >> 16 & 0x0000ff, hex >> 8 & 0x0000ff, hex & 0x0000ff,
                       1.0);
}

+ (UIColor*)colorFDD646
{
    return Color(0xfdd646);
}
+ (UIColor*)colorF2F2F2
{
    return Color(0xF2F2F2);
}
+ (UIColor*)colorB4B4B4
{
    return Color(0xB4B4B4);
}
@end
